<template>
<view class="thread_my">
	<!-- 我的客户：从我的线索，分配过来，分配完从我的线索里去掉 -->
	<threadMySearch class="threadMySearch"></threadMySearch>
	
	<threadMyTable ></threadMyTable>
	
	<threadMyPopup></threadMyPopup>
</view>
</template>

<script>
import { mapActions } from 'vuex';
import threadMySearch from './components/threadMySearch'
import threadMyTable from './components/threadMyTable'
import threadMyPopup from './components/threadMyPopup.vue'

export default{
	components:{
		threadMySearch,
		threadMyTable,
		threadMyPopup
	},
	mounted() {
		
		this.getThreadData();
		this.getDataCount();
	},
	
	methods:{
		...mapActions('threadMy', ['getThreadData', 'getDataCount']),
	}
}
</script>

<style lang="scss" scoped>
uni-page-body{
	width: 100%;
	height: 100%;
	display: flex;
	.threadMySearch{
		height: fit-content;
	}
	// .threadMyTable{
	// 	flex: 1;
	// 	display: flex;
	// 	flex-direction: column;
	// }
}
.thread_my{	
	width: 100%;
	height: 100%;
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

::v-deep.uni-forms-item__label{
	width: 100px;
}

::v-deep .uni-select__selector{
	z-index: 99 !important;
}
</style>
